package com.coldchain.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单收货员信息
 * </p>
 *
 * @author fangliai
 * @since 2018-11-14
 */
@TableName("biz_dispatching_person")
public class BizdispatchingPerson implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "bizPersonId",type = IdType.UUID)
    private String bizPersonId;

    /**
     * 订单ID
     */
    @TableField("orderId")
    private String orderId;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 到达时间
     */
    @TableField("arriveTime")
    private Date arriveTime;

    /**
     * 姓名
     */
    private String name;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * 纬度
     */
    private Double latitude;

    /**
     * 紧急联系人
     */
    @TableField("instancyName")
    private String instancyName;

    /**
     * 紧急联系电话
     */
    @TableField("instancyPhone")
    private String instancyPhone;

    /**
     * 配送状态
     */
    @TableField("personStatus")
    private Integer personStatus;

    /**
     * 预计里程
     */
    @TableField("predictKm")
    private Double predictKm;

    /**
     * 实际里程
     */
    @TableField("actualKm")
    private Double actualKm;

    /**
     * 预计完成时间
     */
    @TableField("predictFinishTime")
    private Date predictFinishTime;

    /**
     * 实际完成时间
     */
    @TableField("actualFinishTime")
    private Date actualFinishTime;



    /**
     * 载具信息
     */
    @TableField("carrierName")
    private String carrierName;

    /**
     * 载具回收数量
     */
    @TableField("carrierNum")
    private Integer carrierNum;

    /**
     * 详细地址
     */
    private String addrdetail;

    /**
     * 地图定位位置
     */
    private String location;

    /**
     * 配送顺序，数字低先配送
     */
    private Integer sort;

    /**
     *回单图片记录多张“，”分开
     */
    @TableField("receipts")
    private String receipts;

    /**
     * 异常记录信息
     */
    @TableField("errorMsg")
    private String errorMsg;

    /**
     * 异常code
     */
    @TableField("errorCode")
    private Integer errorCode;


    /**
     * 附件
     */
    @TableField("accessorys")
    private String accessorys;



    public String getBizPersonId() {
        return bizPersonId;
    }

    public void setBizPersonId(String bizPersonId) {
        this.bizPersonId = bizPersonId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getInstancyName() {
        return instancyName;
    }

    public void setInstancyName(String instancyName) {
        this.instancyName = instancyName;
    }

    public String getInstancyPhone() {
        return instancyPhone;
    }

    public void setInstancyPhone(String instancyPhone) {
        this.instancyPhone = instancyPhone;
    }

    public Integer getPersonStatus() {
        return personStatus;
    }

    public void setPersonStatus(Integer personStatus) {
        this.personStatus = personStatus;
    }

    public Double getPredictKm() {
        return predictKm;
    }

    public void setPredictKm(Double predictKm) {
        this.predictKm = predictKm;
    }

    public Double getActualKm() {
        return actualKm;
    }

    public void setActualKm(Double actualKm) {
        this.actualKm = actualKm;
    }

    public Date getPredictFinishTime() {
        return predictFinishTime;
    }

    public void setPredictFinishTime(Date predictFinishTime) {
        this.predictFinishTime = predictFinishTime;
    }

    public Date getActualFinishTime() {
        return actualFinishTime;
    }

    public void setActualFinishTime(Date actualFinishTime) {
        this.actualFinishTime = actualFinishTime;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public Integer getCarrierNum() {
        return carrierNum;
    }

    public void setCarrierNum(Integer carrierNum) {
        this.carrierNum = carrierNum;
    }

    public String getAddrdetail() {
        return addrdetail;
    }

    public void setAddrdetail(String addrdetail) {
        this.addrdetail = addrdetail;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }



    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }

    public Date getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(Date arriveTime) {
        this.arriveTime = arriveTime;
    }

    public String getReceipts() {
        return receipts;
    }

    public void setReceipts(String receipts) {
        this.receipts = receipts;
    }

    public String getAccessorys() {
        return accessorys;
    }

    public void setAccessorys(String accessorys) {
        this.accessorys = accessorys;
    }
}
